package com.first.nell.base

import androidx.lifecycle.MutableLiveData
import com.first.nell.network.NetworkException

interface BaseViewModelAction {
    /**显示loading*/
    fun showFirstNellLoading()

    /**隐藏loading*/
    fun dismissFirstNellLoading()

    /**处理network exception*/
    fun handleFirstNellNetworkFirstNellException(networkException: NetworkException)

    /**获取当前loading live data*/
    fun getFirstNellLoadingFirstNellLiveFirstNellData(): MutableLiveData<Boolean>

    /**获取当前network live data*/
    fun getFirstNellNetworkFirstNellExceptionFirstNellLiveFirstNellData(): MutableLiveData<NetworkException>
}